import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { OtcCenterOtcCenterListComponent } from './otc-center-list/otc-center-list.component';
import { OtcCenterDetailComponent } from './otc-center-detail/otc-center-detail.component';
import { OtcCusViewComponent } from '../otc-cus/otc-cus-list/otc-cus-view/otc-cus-view.component';
import { OtcBrandComponent } from './otc-brand/otc-brand.component';
import { OtcShopOtcRuleLogComponent } from '../otc-shop/otc-rule-log/otc-rule-log.component';

const routes: Routes = [

  { path: 'list', component: OtcCenterOtcCenterListComponent },
  { path: 'list/detail', component: OtcCenterDetailComponent },
  { path: 'list/detail/cus/detail', component: OtcCusViewComponent },
  { path: 'brand/list', component: OtcBrandComponent },
  { path: 'list/detail/log', component: OtcShopOtcRuleLogComponent },
  { path: 'brand/list/log', component: OtcShopOtcRuleLogComponent }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class OtcCenterRoutingModule { }
